package IC.lir;

import IC.lir.instructions.Label;

/**
 * LIRObject
 * Base class for all LIR Objects
 *
 */
public abstract class LIRObject {

	protected LIRObject parent;
	protected Label Label;
	
	//C'tor
	public LIRObject(LIRObject parent) {
		this.parent = parent;	
	}
	
	//C'tor
	public LIRObject() {
		this.parent = null;	
	}
	
	public LIRObject getParent() {
		return parent;
	}
	
	public Label getLabel() {
		return Label;
	}
	
	@Override
	public abstract String toString();
}
